package com.ckzp.jfinal.weixin.route;

import com.ckzp.core.ConfigUtil;
import com.ckzp.jfinal.weixin.controller.WxMemberController;
import com.ckzp.jfinal.weixin.controller.WxMessageController;
import com.ckzp.jfinal.weixin.controller.WxPayController;
import com.jfinal.config.Routes;

/**
 * Created by 51594 on 2021/5/28.
 */
public class WeixinRoutes extends Routes {

    public static String ADMIN_PATH = ConfigUtil.getWebAdminPath();

    public void config() {
        setBaseViewPath("/WEB-INF/resource/pages/weixin");
        add(ADMIN_PATH + "/wxpay", WxPayController.class, "/wxpay");
        add(ADMIN_PATH + "/wxmember", WxMemberController.class, "/wxmember");
        add(ADMIN_PATH + "/wxmessage", WxMessageController.class, "/wxmessage");

    }

}
